package icooper.action;

public class ErrorCode
{	
	private String error = "";
	
	public void setError(String e)
	{
		error = e;
	}
	
	public String getError()
	{
		return error;
	}
	
	public boolean success()
	{
		return error.length()==0;
	}
	
}
